package com.yantong.constant;

/**
 * 优惠券类型
 *
 */
public enum TicketRecordType {
    NORMAL("普通优惠券",0),
    GIFT_PACKAGE("礼包优惠券", 1),
    GIFT_PACKAGE_SUB("礼包子券", 2),
    ;


    private String name;
    private int type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    TicketRecordType(String name, int type) {
        this.name = name;
        this.type = type;
    }
}
